package com.twu.biblioteca;

import com.twu.biblioteca.Library.Library;
import com.twu.biblioteca.Users.User;
import com.twu.biblioteca.Users.UserList;
import com.twu.biblioteca.Welcome.WelcomeView;

public class BibliotecaApp
{
    public static UserList userList;
    public static User user;

    public static void main(String[] args)
    {
        userList = new UserList();
        user = new User();
        Library library = Library.GetInstanceOfLibrary(Library.NEW_INSTANCE);
        IView view = new WelcomeView();

        while(view != null)
        {
            System.out.println(view.display());
            view = view.interact();
        }
    }
}
